public class dateStr { String date(String word) { return word.replaceAll("/", "-"); } }